<#import "/freemarker/modeltype.ftl" as mt>
<div class="dataTables_title">
	<div class="dataTables_title_left">按钮注释</div>
	<div class="dataTables_title_right">
		<a class="btn btn-success"><i class="icon-pencil"></i> 编辑</a>
		<a class="btn btn-danger"><i class="icon-remove"></i> 删除</a>
	</div>
</div>
<table cellpadding="1" cellspacing="1" class="table table-bordered">
	<thead>
		<tr class="ui-widget-header">
			<th>名称</th>
			<th>创建机构</th>
			<th style="width:100px">创建人</th>
			<th style="width:100px">创建时间</th>
			<th style="width:50px;">操作</th>
		</tr>
	</thead>
	<#list pageBean.resultList as cType>
	<tr class="ui-widget-content">
		<td>${(cType.name)!''}</td>
		<td>${(cType.on)!''}</td>
		<td>${(cType.cuname)!''}</td>
		<td>${(cType.ct?string("yyyy-MM-dd"))!''}</td>
		<td>
			<div class="btn-group">
			<a class="btn btn-xs btn-success" onclick="javascript:editContractType_ContractType('${cType.code}');" title="编辑">
				<i class="icon-pencil"></i></a>
			<a class="btn btn-xs btn-danger" onclick="javascript:deleteContractType_contractType('${cType.code}','${cType.name}');" title="删除">
				<i class="icon-remove"></i></a>
			</div>
		</td>
	</tr>
	</#list>
</table>
<#import "/freemarker/pagination.ftl" as p>
<@p.pagination pageBean 'queryContractType_contractType'/>